﻿
namespace WebFormsMvp.Contrib.Data.Services
{
    /// <summary>
    /// Data Service providing authentication operations
    /// </summary>
    public interface IAuthenticationService
    {
        /// <summary>
        /// Logs the user in.
        /// </summary>
        /// <param name="username">The username.</param>
        /// <param name="password">The password.</param>
        /// <returns><c>Boolean</c> to indicate the login status</returns>
        bool LogIn(string username, string password);
        /// <summary>
        /// Logs the user out.
        /// </summary>
        void LogOut();
    }
}
